﻿using System;
using Acme.Common.Infrastructure;

namespace Acme.Entities
{

    [Serializable]
    public class Expense : ObservableObject
    {

        String _description;
        Decimal _cost;
        String _recipient;

        public String Recipient
        {
            get { return _recipient; }
            set
            {
                _recipient = value;
                RaisePropertyChanged("Recipient");
            }
        }

        public Decimal Cost
        {
            get { return _cost; }
            set
            {
                _cost = value;
                RaisePropertyChanged("Cost");
            }
        }

        public String Description
        {
            get { return _description; }
            set
            {
                _description = value;
                RaisePropertyChanged("Description");
            }
        }

        public Expense()
        {
        }
    }
}
